/**
 * Created by luckyjing on 16/2/4.
 */
process.env.NODE_ENV = process.env.NODE_ENV || 'development';
var express = require('./config/express');
var mongoose = require('./config/mongoose');
var Passport = require('./config/passport');
var db = mongoose();
var app = express();
var passport = Passport();
app.listen(3000);
module.exports = app;
console.log('server running at http://localhost:3000');